<?php

// Created by Khanh Nam
//model is employees
$this->widget('zii.widgets.CMenu',array(
    'items'=>array(
        array('label'=>'Info','url'=>array('Employees/update','empno'=>$model->empno)),
        array('label'=>'Schedule','url'=>array('Employees/schedule','empno'=>$model->empno)),
        array('label'=>'Contacts','url'=>array('/employeecontacts','empno'=>$model->empno),'active'=>Yii::app()->controller->id=='employeecontacts'),
        
        array('label'=>'Vacation','url'=>array('/vacationhrs','empno'=>$model->empno),'active'=>Yii::app()->controller->id=='vacationhrs'),
        array('label'=>'Sick','url'=>array('/sickhrs','empno'=>$model->empno),'active'=>Yii::app()->controller->id=='sickhrs'),
        array('label'=>'Notes','url'=>array('/employeenotes','empno'=>$model->empno),'active'=>Yii::app()->controller->id=='employeenotes'),
        array('label'=>'Equip/Tools','url'=>array('/employeeequipment','empno'=>$model->empno),'active'=>Yii::app()->controller->id=='employeeequipment'),
        array('label'=>'Documents','url'=>array('/Employeedocuments','empno'=>$model->empno),'active'=>Yii::app()->controller->id=='employeedocuments'),
    ),
    'id'=>'tab-menu',
    'htmlOptions'=>array(
        'class'=>'tabs tabs-with-summary',
    ),
    'submenuHtmlOptions'=>array('class'=>'tabs tabs-with-summary'),
));
?>
